package cn.yunyichina.provider.iface.entity;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2016-09-23 15:25:34
*/
public class MsgLog {

     /*主键*/
     private String id;
     public void setId(String id) {
          this.id = id;
     }
     public String getId() {
          return id;
     }

     /*模板消息或者客服消息code*/
     private String msgCode;
     public void setMsgCode(String msgCode) {
          this.msgCode = msgCode;
     }
     public String getMsgCode() {
          return msgCode;
     }

     /*公众平台错误代码err_code*/
     private String errorCode;
     public void setErrorCode(String errorCode) {
          this.errorCode = errorCode;
     }
     public String getErrorCode() {
          return errorCode;
     }

     /*公众平台错误信息err_msg*/
     private String errorMsg;
     public void setErrorMsg(String errorMsg) {
          this.errorMsg = errorMsg;
     }
     public String getErrorMsg() {
          return errorMsg;
     }

     /*微信公众平台或者支付宝服务窗APPID*/
     private String appId;
     public void setAppId(String appId) {
          this.appId = appId;
     }
     public String getAppId() {
          return appId;
     }

     /*医院ID*/
     private String hospitalId;
     public void setHospitalId(String hospitalId) {
          this.hospitalId = hospitalId;
     }
     public String getHospitalId() {
          return hospitalId;
     }

     /*用户ID*/
     private String openId;
     public void setOpenId(String openId) {
          this.openId = openId;
     }
     public String getOpenId() {
          return openId;
     }

     /*wechat微信公众号,alipay支付宝服务窗*/
     private String source;
     public void setSource(String source) {
          this.source = source;
     }
     public String getSource() {
          return source;
     }

     /*success成功 fail失败,  exception异常*/
     private String pushStatus;
     public void setPushStatus(String pushStatus) {
          this.pushStatus = pushStatus;
     }
     public String getPushStatus() {
          return pushStatus;
     }

     /*推送失败次数*/
     private Integer pushFailedNum;
     public void setPushFailedNum(Integer pushFailedNum) {
          this.pushFailedNum = pushFailedNum;
     }
     public Integer getPushFailedNum() {
          return pushFailedNum;
     }

     /*推送的JSON内容*/
     private String pushContent;
     public void setPushContent(String pushContent) {
          this.pushContent = pushContent;
     }
     public String getPushContent() {
          return pushContent;
     }

     /*推送时间*/
     private String createTime;
     public void setCreateTime(String createTime) {
          this.createTime = createTime;
     }
     public String getCreateTime() {
          return createTime;
     }

     private String beginCreateTime;
     public void setBeginCreateTime(String beginCreateTime) {
          this.beginCreateTime = beginCreateTime;
     }
     public String getBeginCreateTime() {
          return beginCreateTime;
     }

     private String endCreateTime;
     public void setEndCreateTime(String endCreateTime) {
          this.endCreateTime = endCreateTime;
     }
     public String getEndCreateTime() {
          return endCreateTime;
     }
     
     
     public void setPushStatusSuccess() {
         this.pushStatus = "success";
     }
     
     public void setPushStatusFail() {
         this.pushStatus = "fail";
     }

     
     public void setPushStatusException() {
         this.pushStatus = "exception";
     }

}